<script>
testbench_verilator = {
  title: "verilated",
  fpga: {
    file: "cnt4bitonsck_msb3.v",
    timestamp: "Jan 17 2023 00:22:06",
    crc: 0
  },
  verify: {
    file: "test.cpp",
    timestamp: "Jan 17 2023 00:22:06",
    crc: 0
  },
  waveforms: {
     clk: "110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011001100110011000000110011001100110011001100",
     sck: "000000000000000000000000000000000000000000000000000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111111111111111111111111111111111",
      cs: "111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111",
    mosi: "000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000111111111111111111111111111111110000000000000000111111111111111100000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000011111111111111110000000000000000111111111111111100000000000000001111111111111111000000000000000000000000000000001111111111111111000000000000000011111111111111110000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000",
    miso: "000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000011111111111111110000000000000000111111111111111100000000000000001111111111111111000000000000000000000000000000001111111111111111000000000000000011111111111111111111111111111111000000000000000011111111111111111111111111111111000000000000000000000000000000000000000000000000111111111111111111111111111111110000000000000000111111111111111100000000000000001111111111111111111111111111111111111111111111110000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  },
  labels: [
    {pos: 4, type: 5, text: "off"},
    {pos: 8, type: 5, text: "off"},
    {pos: 12, type: 5, text: "off"},
    {pos: 16, type: 5, text: "off"},
    {pos: 20, type: 5, text: "off"},
    {pos: 28, type: 5, text: "reset"},
    {pos: 48, type: 2, text: "write 0xf0"},
    {pos: 68, type: 5, text: "bit 0, transmit 1"},
    {pos: 84, type: 5, text: "bit 1, transmit 1"},
    {pos: 100, type: 5, text: "bit 2, transmit 1"},
    {pos: 116, type: 5, text: "bit 3, transmit 1"},
    {pos: 116, type: 5, text: "bit 3, last bit"},
    {pos: 132, type: 5, text: "bit 0, inhibit 0"},
    {pos: 148, type: 5, text: "bit 0, transmit 1"},
    {pos: 164, type: 5, text: "bit 1, transmit 1"},
    {pos: 176, type: 3, text: "read 0xf3"},
    {pos: 176, type: 2, text: "write 0xf1"},
    {pos: 180, type: 5, text: "bit 2, transmit 1"},
    {pos: 196, type: 5, text: "bit 3, transmit 0"},
    {pos: 196, type: 5, text: "bit 3, last bit"},
    {pos: 212, type: 5, text: "bit 0, inhibit 1"},
    {pos: 228, type: 5, text: "bit 0, transmit 0"},
    {pos: 244, type: 5, text: "bit 1, transmit 0"},
    {pos: 260, type: 5, text: "bit 2, transmit 0"},
    {pos: 276, type: 5, text: "bit 3, transmit 1"},
    {pos: 276, type: 5, text: "bit 3, last bit"},
    {pos: 292, type: 5, text: "bit 0, inhibit 1"},
    {pos: 304, type: 3, text: "read 0xa1"},
    {pos: 304, type: 2, text: "write 0xf2"},
    {pos: 308, type: 5, text: "bit 0, transmit 0"},
    {pos: 324, type: 5, text: "bit 1, transmit 0"},
    {pos: 340, type: 5, text: "bit 2, transmit 1"},
    {pos: 356, type: 5, text: "bit 3, transmit 1"},
    {pos: 356, type: 5, text: "bit 3, last bit"},
    {pos: 372, type: 5, text: "bit 0, inhibit 1"},
    {pos: 388, type: 5, text: "bit 0, transmit 0"},
    {pos: 404, type: 5, text: "bit 1, transmit 1"},
    {pos: 420, type: 5, text: "bit 2, transmit 0"},
    {pos: 432, type: 3, text: "read 0x2a"},
    {pos: 432, type: 2, text: "write 0x73"},
    {pos: 436, type: 5, text: "bit 3, transmit 1"},
    {pos: 436, type: 5, text: "bit 3, last bit"},
    {pos: 452, type: 5, text: "bit 0, inhibit 1"},
    {pos: 468, type: 5, text: "bit 0, transmit 0"},
    {pos: 484, type: 5, text: "bit 1, transmit 1"},
    {pos: 500, type: 5, text: "bit 2, transmit 1"},
    {pos: 516, type: 5, text: "bit 3, transmit 1"},
    {pos: 516, type: 5, text: "bit 3, last bit"},
    {pos: 532, type: 5, text: "bit 0, inhibit 1"},
    {pos: 548, type: 5, text: "bit 0, transmit 1"},
    {pos: 560, type: 3, text: "read 0x5b"},
    {pos: 560, type: 2, text: "write 0x48"},
    {pos: 564, type: 5, text: "bit 1, transmit 0"},
    {pos: 580, type: 5, text: "bit 2, transmit 0"},
    {pos: 596, type: 5, text: "bit 3, transmit 1"},
    {pos: 596, type: 5, text: "bit 3, last bit"},
    {pos: 612, type: 5, text: "bit 0, inhibit 1"},
    {pos: 628, type: 5, text: "bit 0, transmit 1"},
    {pos: 644, type: 5, text: "bit 1, transmit 0"},
    {pos: 660, type: 5, text: "bit 2, transmit 1"},
    {pos: 676, type: 5, text: "bit 3, transmit 1"},
    {pos: 676, type: 5, text: "bit 3, last bit"},
    {pos: 688, type: 3, text: "read 0x1a"},
    {pos: 688, type: 2, text: "write 0xa9"},
    {pos: 692, type: 5, text: "bit 0, inhibit 1"},
    {pos: 708, type: 5, text: "bit 0, transmit 1"},
    {pos: 724, type: 5, text: "bit 1, transmit 1"},
    {pos: 740, type: 5, text: "bit 2, transmit 0"},
    {pos: 756, type: 5, text: "bit 3, transmit 1"},
    {pos: 756, type: 5, text: "bit 3, last bit"},
    {pos: 772, type: 5, text: "bit 0, inhibit 1"},
    {pos: 788, type: 5, text: "bit 0, transmit 1"},
    {pos: 804, type: 5, text: "bit 1, transmit 1"},
    {pos: 816, type: 3, text: "read 0xe7"},
    {pos: 816, type: 2, text: "write 0xf5"},
    {pos: 820, type: 5, text: "bit 2, transmit 1"},
    {pos: 836, type: 5, text: "bit 3, transmit 1"},
    {pos: 836, type: 5, text: "bit 3, last bit"},
    {pos: 852, type: 5, text: "bit 0, inhibit 0"},
    {pos: 868, type: 5, text: "bit 0, transmit 0"},
    {pos: 884, type: 5, text: "bit 1, transmit 0"},
    {pos: 900, type: 5, text: "bit 2, transmit 0"},
    {pos: 916, type: 5, text: "bit 3, transmit 0"},
    {pos: 916, type: 5, text: "bit 3, last bit"},
    {pos: 932, type: 5, text: "bit 0, inhibit 0"},
    {pos: 944, type: 3, text: "read 0x80"},
    {pos: 948, type: 0, text: "release"},
    {pos: 948, type: 5, text: "off"},
    {pos: 952, type: 5, text: "off"},
    {pos: 956, type: 5, text: "off"},
    {pos: 960, type: 5, text: "off"},
    {pos: 964, type: 5, text: "off"},
    {pos: 968, type: 5, text: "off"},
  ],
  groups: [
    {begin: 48, end: 176, color: "#ffb0b0"},
    {begin: 176, end: 304, color: "#b0ffb0"},
    {begin: 304, end: 432, color: "#b0b0ff"},
    {begin: 432, end: 560, color: "#ffb0b0"},
    {begin: 560, end: 688, color: "#b0ffb0"},
    {begin: 688, end: 816, color: "#b0b0ff"},
    {begin: 816, end: 944, color: "#ffb0b0"},
  ],
};
</script>
<script src="https://l.valky.eu/la104fpgaenv1"></script>
